home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIDialogs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
36KB
|
881 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIDialogs.h.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emith.dll: 2.33
*/
#ifndef SOM_HIDialog_h
#define SOM_HIDialog_h
/*
* Passthru lines: File: "C.h", "before"
*/
#include <Types.h>
#include <HIDialogTypes.h>
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef HIDialog
#define HIDialog SOMObject
#endif
#include <HIEmbeddingPanels.h>
/*
* Start of user-defined types:
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMObject
#define SOMObject SOMObject
#endif /* SOMObject */
#ifndef HIWindow
#define HIWindow SOMObject
#endif /* HIWindow */
#ifndef HIEmbeddingPanel
#define HIEmbeddingPanel SOMObject
#endif /* HIEmbeddingPanel */
#ifndef HIPushButton
#define HIPushButton SOMObject
#endif /* HIPushButton */
/*
* End of user-defined types.
*/
#define HIDialog_MajorVersion 0
#define HIDialog_MinorVersion 0
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define HIDialogClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIDialog_classObj somNewClassReference(HIDialog)
#define _HIDialog HIDialog_classObj
#define HIDialogCClassData HIDialogClassData
#define HIDialogNewClass(major,minor) somNewVersionedClassReference(HIDialog,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIDialogMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct HIDialogClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitDialog;
somMToken GetDefaultPushButton;
somMToken SetDefaultPushButton;
somMToken GetCancelPushButton;
somMToken SetCancelPushButton;
somMToken SetDismissingSubPanel;
somMToken IsDismissingSubPanel;
somMToken GetNextUserInputFocussedSubPanel;
somMToken Dismiss;
} SOMDLINK HIDialogClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIDialog_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIDialogClassData
#endif
#endif
/*
* New macro for HIDialog
*/
#define HIDialogNew() somNewObject(HIDialog)
/*
* New Method: InitDialog
*/
typedef OSStatus (SOMLINK *somTD_HIDialog_InitDialog)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
#define somMD_HIDialog_InitDialog "::HIDialog::InitDialog"
#define HIDialog_InitDialog(somSelf,ev,identifier,window) \
(SOM_Resolve(somSelf, HIDialog, InitDialog) \
(somSelf,ev,identifier,window))
#ifndef SOMGD_InitDialog
#if defined _InitDialog || defined __InitDialog
#undef _InitDialog
#undef __InitDialog
#define SOMGD_InitDialog 1
#else
#define _InitDialog HIDialog_InitDialog
#endif /* _InitDialog */
#endif /* SOMGD_InitDialog */
/*
* New Method: SetDefaultPushButton
*/
typedef OSStatus (SOMLINK *somTD_HIDialog_SetDefaultPushButton)(HIDialog *somSelf, Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing);
#define somMD_HIDialog_SetDefaultPushButton "::HIDialog::SetDefaultPushButton"
#define HIDialog_SetDefaultPushButton(somSelf,ev,defaultSubPanel,isDismissing) \
(SOM_Resolve(somSelf, HIDialog, SetDefaultPushButton) \
(somSelf,ev,defaultSubPanel,isDismissing))
#ifndef SOMGD_SetDefaultPushButton
#if defined _SetDefaultPushButton || defined __SetDefaultPushButton
#undef _SetDefaultPushButton
#undef __SetDefaultPushButton
#define SOMGD_SetDefaultPushButton 1
#else
#define _SetDefaultPushButton HIDialog_SetDefaultPushButton
#endif /* _SetDefaultPushButton */
#endif /* SOMGD_SetDefaultPushButton */
/*
* New Method: GetDefaultPushButton
*/
typedef HIPushButton* (SOMLINK *somTD_HIDialog_GetDefaultPushButton)(HIDialog *somSelf, Environment *ev);
#define somMD_HIDialog_GetDefaultPushButton "::HIDialog::GetDefaultPushButton"
#define HIDialog_GetDefaultPushButton(somSelf,ev) \
(SOM_Resolve(somSelf, HIDialog, GetDefaultPushButton) \
(somSelf,ev))
#ifndef SOMGD_GetDefaultPushButton
#if defined _GetDefaultPushButton || defined __GetDefaultPushButton
#undef _GetDefaultPushButton
#undef __GetDefaultPushButton
#define SOMGD_GetDefaultPushButton 1
#else
#define _GetDefaultPushButton HIDialog_GetDefaultPushButton
#endif /* _GetDefaultPushButton */
#endif /* SOMGD_GetDefaultPushButton */
/*
* New Method: SetCancelPushButton
*/
typedef OSStatus (SOMLINK *somTD_HIDialog_SetCancelPushButton)(HIDialog *somSelf, Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing);
#define somMD_HIDialog_SetCancelPushButton "::HIDialog::SetCancelPushButton"
#define HIDialog_SetCancelPushButton(somSelf,ev,cancelSubPanel,isDismissing) \
(SOM_Resolve(somSelf, HIDialog, SetCancelPushButton) \
(somSelf,ev,cancelSubPanel,isDismissing))
#ifndef SOMGD_SetCancelPushButton
#if defined _SetCancelPushButton || defined __SetCancelPushButton
#undef _SetCancelPushButton
#undef __SetCancelPushButton
#define SOMGD_SetCancelPushButton 1
#else
#define _SetCancelPushButton HIDialog_SetCancelPushButton
#endif /* _SetCancelPushButton */
#endif /* SOMGD_SetCancelPushButton */
/*
* New Method: GetCancelPushButton
*/
typedef HIPushButton* (SOMLINK *somTD_HIDialog_GetCancelPushButton)(HIDialog *somSelf, Environment *ev);
#define somMD_HIDialog_GetCancelPushButton "::HIDialog::GetCancelPushButton"
#define HIDialog_GetCancelPushButton(somSelf,ev) \
(SOM_Resolve(somSelf, HIDialog, GetCancelPushButton) \
(somSelf,ev))
#ifndef SOMGD_GetCancelPushButton
#if defined _GetCancelPushButton || defined __GetCancelPushButton
#undef _GetCancelPushButton
#undef __GetCancelPushButton
#define SOMGD_GetCancelPushButton 1
#else
#define _GetCancelPushButton HIDialog_GetCancelPushButton
#endif /* _GetCancelPushButton */
#endif /* SOMGD_GetCancelPushButton */
/*
* New Method: SetDismissingSubPanel
*/
typedef OSStatus (SOMLINK *somTD_HIDialog_SetDismissingSubPanel)(HIDialog *somSelf, Environment *ev,
HIPushButton* subPanel,
boolean isDismissing);
#define somMD_HIDialog_SetDismissingSubPanel "::HIDialog::SetDismissingSubPanel"
#define HIDialog_SetDismissingSubPanel(somSelf,ev,subPanel,isDismissing) \
(SOM_Resolve(somSelf, HIDialog, SetDismissingSubPanel) \
(somSelf,ev,subPanel,isDismissing))
#ifndef SOMGD_SetDismissingSubPanel
#if defined _SetDismissingSubPanel || defined __SetDismissingSubPanel
#undef _SetDismissingSubPanel
#undef __SetDismissingSubPanel
#define SOMGD_SetDismissingSubPanel 1
#else
#define _SetDismissingSubPanel HIDialog_SetDismissingSubPanel
#endif /* _SetDismissingSubPanel */
#endif /* SOMGD_SetDismissingSubPanel */
/*
* New Method: IsDismissingSubPanel
*/
typedef boolean (SOMLINK *somTD_HIDialog_IsDismissingSubPanel)(HIDialog *somSelf, Environment *ev,
HIPushButton* subPanel);
#define somMD_HIDialog_IsDismissingSubPanel "::HIDialog::IsDismissingSubPanel"
#define HIDialog_IsDismissingSubPanel(somSelf,ev,subPanel) \
(SOM_Resolve(somSelf, HIDialog, IsDismissingSubPanel) \
(somSelf,ev,subPanel))
#ifndef SOMGD_IsDismissingSubPanel
#if defined _IsDismissingSubPanel || defined __IsDismissingSubPanel
#undef _IsDismissingSubPanel
#undef __IsDismissingSubPanel
#define SOMGD_IsDismissingSubPanel 1
#else
#define _IsDismissingSubPanel HIDialog_IsDismissingSubPanel
#endif /* _IsDismissingSubPanel */
#endif /* SOMGD_IsDismissingSubPanel */
/*
* New Method: GetNextUserInputFocussedSubPanel
*/
typedef HIPanel* (SOMLINK *somTD_HIDialog_GetNextUserInputFocussedSubPanel)(HIDialog *somSelf, Environment *ev,
boolean goingBackwards);
#define somMD_HIDialog_GetNextUserInputFocussedSubPanel "::HIDialog::GetNextUserInputFocussedSubPanel"
#define HIDialog_GetNextUserInputFocussedSubPanel(somSelf,ev,goingBackwards) \
(SOM_Resolve(somSelf, HIDialog, GetNextUserInputFocussedSubPanel) \
(somSelf,ev,goingBackwards))
#ifndef SOMGD_GetNextUserInputFocussedSubPanel
#if defined _GetNextUserInputFocussedSubPanel || defined __GetNextUserInputFocussedSubPanel
#undef _GetNextUserInputFocussedSubPanel
#undef __GetNextUserInputFocussedSubPanel
#define SOMGD_GetNextUserInputFocussedSubPanel 1
#else
#define _GetNextUserInputFocussedSubPanel HIDialog_GetNextUserInputFocussedSubPanel
#endif /* _GetNextUserInputFocussedSubPanel */
#endif /* SOMGD_GetNextUserInputFocussedSubPanel */
/*
* New Method: Dismiss
*/
typedef boolean (SOMLINK *somTD_HIDialog_Dismiss)(HIDialog *somSelf, Environment *ev);
#define somMD_HIDialog_Dismiss "::HIDialog::Dismiss"
#define HIDialog_Dismiss(somSelf,ev) \
(SOM_Resolve(somSelf, HIDialog, Dismiss) \
(somSelf,ev))
#ifndef SOMGD_Dismiss
#if defined _Dismiss || defined __Dismiss
#undef _Dismiss
#undef __Dismiss
#define SOMGD_Dismiss 1
#else
#define _Dismiss HIDialog_Dismiss
#endif /* _Dismiss */
#endif /* SOMGD_Dismiss */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define HIDialog_InitRootPanel HIRootPanel_InitRootPanel
#define HIDialog_AdjustAccumulatedEraseRgn HIRootPanel_AdjustAccumulatedEraseRgn
#define HIDialog_EraseAccumulatedEraseRgn HIRootPanel_EraseAccumulatedEraseRgn
#define HIDialog_GetSubPanelCount HIEmbeddingPanel_GetSubPanelCount
#define HIDialog_GetLastSelectedSubPanel HIEmbeddingPanel_GetLastSelectedSubPanel
#define HIDialog_InitEmbeddingPanel HIEmbeddingPanel_InitEmbeddingPanel
#define HIDialog_AddSubPanel HIEmbeddingPanel_AddSubPanel
#define HIDialog_RemoveSubPanel HIEmbeddingPanel_RemoveSubPanel
#define HIDialog_GetSubPanel HIEmbeddingPanel_GetSubPanel
#define HIDialog_GetUserInputFocusSubPanel HIEmbeddingPanel_GetUserInputFocusSubPanel
#define HIDialog_SetUserInputFocusSubPanel HIEmbeddingPanel_SetUserInputFocusSubPanel
#define HIDialog_GetSubPanelIndex HIEmbeddingPanel_GetSubPanelIndex
#define HIDialog_GetSubPanelsFromRefLabel HIEmbeddingPanel_GetSubPanelsFromRefLabel
#define HIDialog_GetEmbeddingParent HIPanel_GetEmbeddingParent
#define HIDialog_InitPanel HIPanel_InitPanel
#define HIDialog_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
#define HIDialog_HasValidContent HIPanel_HasValidContent
#define HIDialog_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
#define HIDialog_GetWindow HIObject_GetWindow
#define HIDialog_GetPort HIObject_GetPort
#define HIDialog_GetRefLabel HIObject_GetRefLabel
#define HIDialog_GetCollection HIObject_GetCollection
#define HIDialog_Init HIObject_Init
#define HIDialog_Terminate HIObject_Terminate
#define HIDialog_Clone HIObject_Clone
#define HIDialog_Release HIObject_Release
#define HIDialog_GetOwnerCount HIObject_GetOwnerCount
#define HIDialog_InitFromAERecord HIObject_InitFromAERecord
#define HIDialog_WriteToAERecord HIObject_WriteToAERecord
#define HIDialog_CalculateOptimalSize HIObject_CalculateOptimalSize
#define HIDialog_GetBoundingRect HIObject_GetBoundingRect
#define HIDialog_SetBoundingRect HIObject_SetBoundingRect
#define HIDialog_SetPosition HIObject_SetPosition
#define HIDialog_SetSize HIObject_SetSize
#define HIDialog_GetUpdateRect HIObject_GetUpdateRect
#define HIDialog_Enable HIObject_Enable
#define HIDialog_Disable HIObject_Disable
#define HIDialog_IsEnabled HIObject_IsEnabled
#define HIDialog_Show HIObject_Show
#define HIDialog_Hide HIObject_Hide
#define HIDialog_IsVisible HIObject_IsVisible
#define HIDialog_HandleAppleEvent HIObject_HandleAppleEvent
#define HIDialog_HandleActivate HIObject_HandleActivate
#define HIDialog_HandleDeactivate HIObject_HandleDeactivate
#define HIDialog_HandleNavigation HIObject_HandleNavigation
#define HIDialog_HandleMouseDownInContent HIObject_HandleMouseDownInContent
#define HIDialog_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
#define HIDialog_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
#define HIDialog_HandleMouseUpInContent HIObject_HandleMouseUpInContent
#define HIDialog_TakeUserInputFocus HIObject_TakeUserInputFocus
#define HIDialog_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
#define HIDialog_HasUserInputFocus HIObject_HasUserInputFocus
#define HIDialog_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
#define HIDialog_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
#define HIDialog_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
#define HIDialog_SetTitle HIObject_SetTitle
#define HIDialog_GetTitle HIObject_GetTitle
#define HIDialog_Draw HIObject_Draw
#define HIDialog_Erase HIObject_Erase
#define HIDialog_Invalidate HIObject_Invalidate
#define HIDialog_GetDrawingMode HIObject_GetDrawingMode
#define HIDialog_SetDrawingMode HIObject_SetDrawingMode
#define HIDialog_SetBackgroundPattern HIObject_SetBackgroundPattern
#define HIDialog_GetBackgroundPattern HIObject_GetBackgroundPattern
#define HIDialog_Cut HIObject_Cut
#define HIDialog_Copy HIObject_Copy
#define HIDialog_Paste HIObject_Paste
#define HIDialog_Clear HIObject_Clear
#define HIDialog_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
#define HIDialog_AddStateChangeCallback HIObject_AddStateChangeCallback
#define HIDialog_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
#define HIDialog_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
#define HIDialog_GetNewHIObject HIObject_GetNewHIObject
#define HIDialog_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
#define HIDialog_DrawContent HIObject_DrawContent
#define HIDialog_EraseContent HIObject_EraseContent
#define HIDialog_TranslatePoint HIObject_TranslatePoint
#define HIDialog_TranslateRect HIObject_TranslateRect
#define HIDialog_StateChanged HIObject_StateChanged
#define HIDialog_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
#define HIDialog_Verify HIObject_Verify
#define HIDialog_somInit SOMObject_somInit
#define HIDialog_somUninit SOMObject_somUninit
#define HIDialog_somDuplicateReference SOMObject_somDuplicateReference
#define HIDialog_somCompareReference SOMObject_somCompareReference
#define HIDialog_somRelease SOMObject_somRelease
#define HIDialog_somFree SOMObject_somFree
#define HIDialog_somCanDelete SOMObject_somCanDelete
#define HIDialog_somGetClass SOMObject_somGetClass
#define HIDialog_somGetClassName SOMObject_somGetClassName
#define HIDialog_somGetSize SOMObject_somGetSize
#define HIDialog_somIsA SOMObject_somIsA
#define HIDialog_somRespondsTo SOMObject_somRespondsTo
#define HIDialog_somIsInstanceOf SOMObject_somIsInstanceOf
#define HIDialog_somDispatch SOMObject_somDispatch
#define HIDialog_somClassDispatch SOMObject_somClassDispatch
#define HIDialog_somCastObj SOMObject_somCastObj
#define HIDialog_somResetObj SOMObject_somResetObj
#define HIDialog_somPrintSelf SOMObject_somPrintSelf
#define HIDialog_somDumpSelf SOMObject_somDumpSelf
#define HIDialog_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_HIDialog_h */
#ifndef SOM_HIModalDialog_h
#define SOM_HIModalDialog_h
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef HIModalDialog
#define HIModalDialog SOMObject
#endif
#include <HIDialogs.h>
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#define HIModalDialog_MajorVersion 0
#define HIModalDialog_MinorVersion 0
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define HIModalDialogClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIModalDialog_classObj somNewClassReference(HIModalDialog)
#define _HIModalDialog HIModalDialog_classObj
#define HIModalDialogCClassData HIModalDialogClassData
#define HIModalDialogNewClass(major,minor) somNewVersionedClassReference(HIModalDialog,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIModalDialogMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct HIModalDialogClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitModalDialog;
somMToken ExecuteModality;
somMToken GetModalAEHandlerTable;
} SOMDLINK HIModalDialogClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIModalDialog_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIModalDialogClassData
#endif
#endif
/*
* New macro for HIModalDialog
*/
#define HIModalDialogNew() somNewObject(HIModalDialog)
/*
* New Method: InitModalDialog
*/
typedef OSStatus (SOMLINK *somTD_HIModalDialog_InitModalDialog)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
boolean moveable);
#define somMD_HIModalDialog_InitModalDialog "::HIModalDialog::InitModalDialog"
#define HIModalDialog_InitModalDialog(somSelf,ev,identifier,screenBounds,moveable) \
(SOM_Resolve(somSelf, HIModalDialog, InitModalDialog) \
(somSelf,ev,identifier,screenBounds,moveable))
#ifndef SOMGD_InitModalDialog
#if defined _InitModalDialog || defined __InitModalDialog
#undef _InitModalDialog
#undef __InitModalDialog
#define SOMGD_InitModalDialog 1
#else
#define _InitModalDialog HIModalDialog_InitModalDialog
#endif /* _InitModalDialog */
#endif /* SOMGD_InitModalDialog */
/*
* New Method: GetModalAEHandlerTable
*/
typedef AEHandlerTableRef (SOMLINK *somTD_HIModalDialog_GetModalAEHandlerTable)(HIModalDialog *somSelf, Environment *ev);
#define somMD_HIModalDialog_GetModalAEHandlerTable "::HIModalDialog::GetModalAEHandlerTable"
#define HIModalDialog_GetModalAEHandlerTable(somSelf,ev) \
(SOM_Resolve(somSelf, HIModalDialog, GetModalAEHandlerTable) \
(somSelf,ev))
#ifndef SOMGD_GetModalAEHandlerTable
#if defined _GetModalAEHandlerTable || defined __GetModalAEHandlerTable
#undef _GetModalAEHandlerTable
#undef __GetModalAEHandlerTable
#define SOMGD_GetModalAEHandlerTable 1
#else
#define _GetModalAEHandlerTable HIModalDialog_GetModalAEHandlerTable
#endif /* _GetModalAEHandlerTable */
#endif /* SOMGD_GetModalAEHandlerTable */
/*
* New Method: ExecuteModality
*/
typedef void (SOMLINK *somTD_HIModalDialog_ExecuteModality)(HIModalDialog *somSelf, Environment *ev);
#define somMD_HIModalDialog_ExecuteModality "::HIModalDialog::ExecuteModality"
#define HIModalDialog_ExecuteModality(somSelf,ev) \
(SOM_Resolve(somSelf, HIModalDialog, ExecuteModality) \
(somSelf,ev))
#ifndef SOMGD_ExecuteModality
#if defined _ExecuteModality || defined __ExecuteModality
#undef _ExecuteModality
#undef __ExecuteModality
#define SOMGD_ExecuteModality 1
#else
#define _ExecuteModality HIModalDialog_ExecuteModality
#endif /* _ExecuteModality */
#endif /* SOMGD_ExecuteModality */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define HIModalDialog_InitDialog HIDialog_InitDialog
#define HIModalDialog_SetDefaultPushButton HIDialog_SetDefaultPushButton
#define HIModalDialog_GetDefaultPushButton HIDialog_GetDefaultPushButton
#define HIModalDialog_SetCancelPushButton HIDialog_SetCancelPushButton
#define HIModalDialog_GetCancelPushButton HIDialog_GetCancelPushButton
#define HIModalDialog_SetDismissingSubPanel HIDialog_SetDismissingSubPanel
#define HIModalDialog_IsDismissingSubPanel HIDialog_IsDismissingSubPanel
#define HIModalDialog_GetNextUserInputFocussedSubPanel HIDialog_GetNextUserInputFocussedSubPanel
#define HIModalDialog_Dismiss HIDialog_Dismiss
#define HIModalDialog_InitRootPanel HIRootPanel_InitRootPanel
#define HIModalDialog_AdjustAccumulatedEraseRgn HIRootPanel_AdjustAccumulatedEraseRgn
#define HIModalDialog_EraseAccumulatedEraseRgn HIRootPanel_EraseAccumulatedEraseRgn
#define HIModalDialog_GetSubPanelCount HIEmbeddingPanel_GetSubPanelCount
#define HIModalDialog_GetLastSelectedSubPanel HIEmbeddingPanel_GetLastSelectedSubPanel
#define HIModalDialog_InitEmbeddingPanel HIEmbeddingPanel_InitEmbeddingPanel
#define HIModalDialog_AddSubPanel HIEmbeddingPanel_AddSubPanel
#define HIModalDialog_RemoveSubPanel HIEmbeddingPanel_RemoveSubPanel
#define HIModalDialog_GetSubPanel HIEmbeddingPanel_GetSubPanel
#define HIModalDialog_GetUserInputFocusSubPanel HIEmbeddingPanel_GetUserInputFocusSubPanel
#define HIModalDialog_SetUserInputFocusSubPanel HIEmbeddingPanel_SetUserInputFocusSubPanel
#define HIModalDialog_GetSubPanelIndex HIEmbeddingPanel_GetSubPanelIndex
#define HIModalDialog_GetSubPanelsFromRefLabel HIEmbeddingPanel_GetSubPanelsFromRefLabel
#define HIModalDialog_GetEmbeddingParent HIPanel_GetEmbeddingParent
#define HIModalDialog_InitPanel HIPanel_InitPanel
#define HIModalDialog_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
#define HIModalDialog_HasValidContent HIPanel_HasValidContent
#define HIModalDialog_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
#define HIModalDialog_GetWindow HIObject_GetWindow
#define HIModalDialog_GetPort HIObject_GetPort
#define HIModalDialog_GetRefLabel HIObject_GetRefLabel
#define HIModalDialog_GetCollection HIObject_GetCollection
#define HIModalDialog_Init HIObject_Init
#define HIModalDialog_Terminate HIObject_Terminate
#define HIModalDialog_Clone HIObject_Clone
#define HIModalDialog_Release HIObject_Release
#define HIModalDialog_GetOwnerCount HIObject_GetOwnerCount
#define HIModalDialog_InitFromAERecord HIObject_InitFromAERecord
#define HIModalDialog_WriteToAERecord HIObject_WriteToAERecord
#define HIModalDialog_CalculateOptimalSize HIObject_CalculateOptimalSize
#define HIModalDialog_GetBoundingRect HIObject_GetBoundingRect
#define HIModalDialog_SetBoundingRect HIObject_SetBoundingRect
#define HIModalDialog_SetPosition HIObject_SetPosition
#define HIModalDialog_SetSize HIObject_SetSize
#define HIModalDialog_GetUpdateRect HIObject_GetUpdateRect
#define HIModalDialog_Enable HIObject_Enable
#define HIModalDialog_Disable HIObject_Disable
#define HIModalDialog_IsEnabled HIObject_IsEnabled
#define HIModalDialog_Show HIObject_Show
#define HIModalDialog_Hide HIObject_Hide
#define HIModalDialog_IsVisible HIObject_IsVisible
#define HIModalDialog_HandleAppleEvent HIObject_HandleAppleEvent
#define HIModalDialog_HandleActivate HIObject_HandleActivate
#define HIModalDialog_HandleDeactivate HIObject_HandleDeactivate
#define HIModalDialog_HandleNavigation HIObject_HandleNavigation
#define HIModalDialog_HandleMouseDownInContent HIObject_HandleMouseDownInContent
#define HIModalDialog_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
#define HIModalDialog_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
#define HIModalDialog_HandleMouseUpInContent HIObject_HandleMouseUpInContent
#define HIModalDialog_TakeUserInputFocus HIObject_TakeUserInputFocus
#define HIModalDialog_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
#define HIModalDialog_HasUserInputFocus HIObject_HasUserInputFocus
#define HIModalDialog_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
#define HIModalDialog_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
#define HIModalDialog_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
#define HIModalDialog_SetTitle HIObject_SetTitle
#define HIModalDialog_GetTitle HIObject_GetTitle
#define HIModalDialog_Draw HIObject_Draw
#define HIModalDialog_Erase HIObject_Erase
#define HIModalDialog_Invalidate HIObject_Invalidate
#define HIModalDialog_GetDrawingMode HIObject_GetDrawingMode
#define HIModalDialog_SetDrawingMode HIObject_SetDrawingMode
#define HIModalDialog_SetBackgroundPattern HIObject_SetBackgroundPattern
#define HIModalDialog_GetBackgroundPattern HIObject_GetBackgroundPattern
#define HIModalDialog_Cut HIObject_Cut
#define HIModalDialog_Copy HIObject_Copy
#define HIModalDialog_Paste HIObject_Paste
#define HIModalDialog_Clear HIObject_Clear
#define HIModalDialog_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
#define HIModalDialog_AddStateChangeCallback HIObject_AddStateChangeCallback
#define HIModalDialog_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
#define HIModalDialog_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
#define HIModalDialog_GetNewHIObject HIObject_GetNewHIObject
#define HIModalDialog_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
#define HIModalDialog_DrawContent HIObject_DrawContent
#define HIModalDialog_EraseContent HIObject_EraseContent
#define HIModalDialog_TranslatePoint HIObject_TranslatePoint
#define HIModalDialog_TranslateRect HIObject_TranslateRect
#define HIModalDialog_StateChanged HIObject_StateChanged
#define HIModalDialog_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
#define HIModalDialog_Verify HIObject_Verify
#define HIModalDialog_somInit SOMObject_somInit
#define HIModalDialog_somUninit SOMObject_somUninit
#define HIModalDialog_somDuplicateReference SOMObject_somDuplicateReference
#define HIModalDialog_somCompareReference SOMObject_somCompareReference
#define HIModalDialog_somRelease SOMObject_somRelease
#define HIModalDialog_somFree SOMObject_somFree
#define HIModalDialog_somCanDelete SOMObject_somCanDelete
#define HIModalDialog_somGetClass SOMObject_somGetClass
#define HIModalDialog_somGetClassName SOMObject_somGetClassName
#define HIModalDialog_somGetSize SOMObject_somGetSize
#define HIModalDialog_somIsA SOMObject_somIsA
#define HIModalDialog_somRespondsTo SOMObject_somRespondsTo
#define HIModalDialog_somIsInstanceOf SOMObject_somIsInstanceOf
#define HIModalDialog_somDispatch SOMObject_somDispatch
#define HIModalDialog_somClassDispatch SOMObject_somClassDispatch
#define HIModalDialog_somCastObj SOMObject_somCastObj
#define HIModalDialog_somResetObj SOMObject_somResetObj
#define HIModalDialog_somPrintSelf SOMObject_somPrintSelf
#define HIModalDialog_somDumpSelf SOMObject_somDumpSelf
#define HIModalDialog_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_HIModalDialog_h */
#ifndef SOM_HIAlert_h
#define SOM_HIAlert_h
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef HIAlert
#define HIAlert SOMObject
#endif
#include <HIDialogs.h>
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#define HIAlert_MajorVersion 0
#define HIAlert_MinorVersion 0
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define HIAlertClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIAlert_classObj somNewClassReference(HIAlert)
#define _HIAlert HIAlert_classObj
#define HIAlertCClassData HIAlertClassData
#define HIAlertNewClass(major,minor) somNewVersionedClassReference(HIAlert,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIAlertMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct HIAlertClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitAlert;
} SOMDLINK HIAlertClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIAlert_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIAlertClassData
#endif
#endif
/*
* New macro for HIAlert
*/
#define HIAlertNew() somNewObject(HIAlert)
/*
* New Method: InitAlert
*/
typedef OSStatus (SOMLINK *somTD_HIAlert_InitAlert)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
HIAlertType alertType);
#define somMD_HIAlert_InitAlert "::HIAlert::InitAlert"
#define HIAlert_InitAlert(somSelf,ev,identifier,screenBounds,alertType) \
(SOM_Resolve(somSelf, HIAlert, InitAlert) \
(somSelf,ev,identifier,screenBounds,alertType))
#ifndef SOMGD_InitAlert
#if defined _InitAlert || defined __InitAlert
#undef _InitAlert
#undef __InitAlert
#define SOMGD_InitAlert 1
#else
#define _InitAlert HIAlert_InitAlert
#endif /* _InitAlert */
#endif /* SOMGD_InitAlert */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define HIAlert_InitModalDialog HIModalDialog_InitModalDialog
#define HIAlert_GetModalAEHandlerTable HIModalDialog_GetModalAEHandlerTable
#define HIAlert_ExecuteModality HIModalDialog_ExecuteModality
#define HIAlert_InitDialog HIDialog_InitDialog
#define HIAlert_SetDefaultPushButton HIDialog_SetDefaultPushButton
#define HIAlert_GetDefaultPushButton HIDialog_GetDefaultPushButton
#define HIAlert_SetCancelPushButton HIDialog_SetCancelPushButton
#define HIAlert_GetCancelPushButton HIDialog_GetCancelPushButton
#define HIAlert_SetDismissingSubPanel HIDialog_SetDismissingSubPanel
#define HIAlert_IsDismissingSubPanel HIDialog_IsDismissingSubPanel
#define HIAlert_GetNextUserInputFocussedSubPanel HIDialog_GetNextUserInputFocussedSubPanel
#define HIAlert_Dismiss HIDialog_Dismiss
#define HIAlert_InitRootPanel HIRootPanel_InitRootPanel
#define HIAlert_AdjustAccumulatedEraseRgn HIRootPanel_AdjustAccumulatedEraseRgn
#define HIAlert_EraseAccumulatedEraseRgn HIRootPanel_EraseAccumulatedEraseRgn
#define HIAlert_GetSubPanelCount HIEmbeddingPanel_GetSubPanelCount
#define HIAlert_GetLastSelectedSubPanel HIEmbeddingPanel_GetLastSelectedSubPanel
#define HIAlert_InitEmbeddingPanel HIEmbeddingPanel_InitEmbeddingPanel
#define HIAlert_AddSubPanel HIEmbeddingPanel_AddSubPanel
#define HIAlert_RemoveSubPanel HIEmbeddingPanel_RemoveSubPanel
#define HIAlert_GetSubPanel HIEmbeddingPanel_GetSubPanel
#define HIAlert_GetUserInputFocusSubPanel HIEmbeddingPanel_GetUserInputFocusSubPanel
#define HIAlert_SetUserInputFocusSubPanel HIEmbeddingPanel_SetUserInputFocusSubPanel
#define HIAlert_GetSubPanelIndex HIEmbeddingPanel_GetSubPanelIndex
#define HIAlert_GetSubPanelsFromRefLabel HIEmbeddingPanel_GetSubPanelsFromRefLabel
#define HIAlert_GetEmbeddingParent HIPanel_GetEmbeddingParent
#define HIAlert_InitPanel HIPanel_InitPanel
#define HIAlert_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
#define HIAlert_HasValidContent HIPanel_HasValidContent
#define HIAlert_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
#define HIAlert_GetWindow HIObject_GetWindow
#define HIAlert_GetPort HIObject_GetPort
#define HIAlert_GetRefLabel HIObject_GetRefLabel
#define HIAlert_GetCollection HIObject_GetCollection
#define HIAlert_Init HIObject_Init
#define HIAlert_Terminate HIObject_Terminate
#define HIAlert_Clone HIObject_Clone
#define HIAlert_Release HIObject_Release
#define HIAlert_GetOwnerCount HIObject_GetOwnerCount
#define HIAlert_InitFromAERecord HIObject_InitFromAERecord
#define HIAlert_WriteToAERecord HIObject_WriteToAERecord
#define HIAlert_CalculateOptimalSize HIObject_CalculateOptimalSize
#define HIAlert_GetBoundingRect HIObject_GetBoundingRect
#define HIAlert_SetBoundingRect HIObject_SetBoundingRect
#define HIAlert_SetPosition HIObject_SetPosition
#define HIAlert_SetSize HIObject_SetSize
#define HIAlert_GetUpdateRect HIObject_GetUpdateRect
#define HIAlert_Enable HIObject_Enable
#define HIAlert_Disable HIObject_Disable
#define HIAlert_IsEnabled HIObject_IsEnabled
#define HIAlert_Show HIObject_Show
#define HIAlert_Hide HIObject_Hide
#define HIAlert_IsVisible HIObject_IsVisible
#define HIAlert_HandleAppleEvent HIObject_HandleAppleEvent
#define HIAlert_HandleActivate HIObject_HandleActivate
#define HIAlert_HandleDeactivate HIObject_HandleDeactivate
#define HIAlert_HandleNavigation HIObject_HandleNavigation
#define HIAlert_HandleMouseDownInContent HIObject_HandleMouseDownInContent
#define HIAlert_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
#define HIAlert_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
#define HIAlert_HandleMouseUpInContent HIObject_HandleMouseUpInContent
#define HIAlert_TakeUserInputFocus HIObject_TakeUserInputFocus
#define HIAlert_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
#define HIAlert_HasUserInputFocus HIObject_HasUserInputFocus
#define HIAlert_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
#define HIAlert_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
#define HIAlert_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
#define HIAlert_SetTitle HIObject_SetTitle
#define HIAlert_GetTitle HIObject_GetTitle
#define HIAlert_Draw HIObject_Draw
#define HIAlert_Erase HIObject_Erase
#define HIAlert_Invalidate HIObject_Invalidate
#define HIAlert_GetDrawingMode HIObject_GetDrawingMode
#define HIAlert_SetDrawingMode HIObject_SetDrawingMode
#define HIAlert_SetBackgroundPattern HIObject_SetBackgroundPattern
#define HIAlert_GetBackgroundPattern HIObject_GetBackgroundPattern
#define HIAlert_Cut HIObject_Cut
#define HIAlert_Copy HIObject_Copy
#define HIAlert_Paste HIObject_Paste
#define HIAlert_Clear HIObject_Clear
#define HIAlert_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
#define HIAlert_AddStateChangeCallback HIObject_AddStateChangeCallback
#define HIAlert_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
#define HIAlert_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
#define HIAlert_GetNewHIObject HIObject_GetNewHIObject
#define HIAlert_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
#define HIAlert_DrawContent HIObject_DrawContent
#define HIAlert_EraseContent HIObject_EraseContent
#define HIAlert_TranslatePoint HIObject_TranslatePoint
#define HIAlert_TranslateRect HIObject_TranslateRect
#define HIAlert_StateChanged HIObject_StateChanged
#define HIAlert_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
#define HIAlert_Verify HIObject_Verify
#define HIAlert_somInit SOMObject_somInit
#define HIAlert_somUninit SOMObject_somUninit
#define HIAlert_somDuplicateReference SOMObject_somDuplicateReference
#define HIAlert_somCompareReference SOMObject_somCompareReference
#define HIAlert_somRelease SOMObject_somRelease
#define HIAlert_somFree SOMObject_somFree
#define HIAlert_somCanDelete SOMObject_somCanDelete
#define HIAlert_somGetClass SOMObject_somGetClass
#define HIAlert_somGetClassName SOMObject_somGetClassName
#define HIAlert_somGetSize SOMObject_somGetSize
#define HIAlert_somIsA SOMObject_somIsA
#define HIAlert_somRespondsTo SOMObject_somRespondsTo
#define HIAlert_somIsInstanceOf SOMObject_somIsInstanceOf
#define HIAlert_somDispatch SOMObject_somDispatch
#define HIAlert_somClassDispatch SOMObject_somClassDispatch
#define HIAlert_somCastObj SOMObject_somCastObj
#define HIAlert_somResetObj SOMObject_somResetObj
#define HIAlert_somPrintSelf SOMObject_somPrintSelf
#define HIAlert_somDumpSelf SOMObject_somDumpSelf
#define HIAlert_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_HIAlert_h */